Component org.nuxeo.ecm.platform.smart.folder.actions
In bundle org.nuxeo.ecm.platform.smart.folder.jsf
Contributions
- org.nuxeo.ecm.platform.smart.folder.actions--actions
- org.nuxeo.ecm.platform.smart.folder.actions--filters
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.smart.folder.actions">
<require>org.nuxeo.ecm.platform.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<documentation>
Adds a new tab for the smart folder view, and adds a button to save the
global smart search form into a smart folder.
</documentation>
<action id="TAB_SMART_FOLDER_VIEW" link="/incl/tabs/smart_folder_view.xhtml"
order="10" label="action.view.content">
<category>VIEW_ACTION_LIST</category>
<filter-id>view_smart_folder</filter-id>
</action>
<action id="saveQueryAsSmartFolder"
link="#{smartNXQLFolderActions.saveQueryAsDocument('SmartFolder')}"
order="10" label="command.saveSmartSearch" immediate="true">
<category>SMART_SEARCH_BUTTONS</category>
<!-- TODO: filter when no personal workspace is available -->
</action>
</extension>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="filters">
<filter id="view" append="true">
<rule grant="false">
<type>SmartFolder</type>
</rule>
</filter>
<filter id="view_smart_folder">
<rule grant="true">
<type>SmartFolder</type>
</rule>
</filter>
</extension>
</component>